﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IRC4N00bz.BeyondIRC {
    public sealed class SendToTwitter {
        public string Username = "";
        public string Password = "";

        public SendToTwitter() {}
        public SendToTwitter(string user, string pass) {
            Username = user;
            Password = pass;
        }

        //public void Post(string msg) {
        //    if (msg.Length < 140) {
        //        try {
        //            if (Twitterizer.Framework.Twitter.VerifyCredentials(Username, Password)) {
        //                Twitterizer.Framework.Twitter t = new Twitterizer.Framework.Twitter(Username, Password);
        //                t.Status.Update(msg);
        //            } else {
        //                Console.Beep();
        //                Console.WriteLine("TWITTER: Invalid user/pass!");
        //            }
        //        } catch (Exception err) {
        //            Console.WriteLine("TWITTER: {0}", err.Message);
        //        }
        //    }
        //}

    }
}
